package com.mecol.education.dao;

import com.mecol.education.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AdminDao extends JpaRepository<Admin,Integer> {
    Admin findByUsername(String username);
    Admin getByUsernameAndPassword(String username,String password);
}
